<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style lang="">
        span{
          display: inline-block;
          width: 100px;
            
        }
  </style>
  <body></body>
  <script>
    /* 
        在循环中也可以嵌套其他的循环

        希望在网页中打印如下图形
        *****
        *****
        *****
        *****

    */
    for (var i = 1; i < 10; i++) {
      for (var j = 1; j < 10; j++) {
        document.write(`<span>${i}*${j}=  ${i * j  }</span>`);
      }
      document.write("<br>");
    }
  </script>
</html>
